﻿@model EpiInfoCloudMagpiBridge.MagpiAzureMapping

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Delete</title>
</head>
<body>
   
    <div>
        <h3>Delete Registered Datasets</h3>
         
        <hr />
        <div class="alert alert-danger" style="font-size:16px; margin-top:20px"><b>WARNING!</b> Are you sure you want to delete this?</div>
        <table style="font-size:15px">
            <tr>
                <td style="font-weight: bold">
                    @Html.DisplayNameFor(model => model.EWAVUserID) :
                </td>
                <td width="20"></td>
                <td>
                    @Html.DisplayFor(model => model.EWAVUserID)
                </td>
            </tr>
            <tr>
                <td colspan="3" height="10"></td>
            </tr>
            <tr>
                <td style="font-weight: bold">
                    @Html.DisplayNameFor(model => model.SurveyName) :
                </td>
                <td width="20"></td>
                <td>
                    @Html.DisplayFor(model => model.SurveyName)
                </td>
            </tr>
            <tr>
                <td colspan="3" height="10"></td>
            </tr>
            <tr>
                <td style="font-weight: bold">
                    @Html.DisplayNameFor(model => model.SurveyID) :
                </td>
                <td width="20"></td>
                <td>
                    @Html.DisplayFor(model => model.SurveyID)
                </td>
            </tr>
            <tr>
                <td colspan="3" height="10"></td>
            </tr>
            <tr>
                <td style="font-weight: bold">
                    @Html.DisplayNameFor(model => model.MobileServiceTableName) :
                </td>
                <td width="20"></td>
                <td>
                    @Html.DisplayFor(model => model.MobileServiceTableName)
                </td>
            </tr>
        </table>
    
        @using (Html.BeginForm()) {
            @Html.AntiForgeryToken()
    
            <div class="form-actions no-color" style="margin-top:20px">
              
                <button type="submit" value="Delete" class=" btn btn-primary">Delete</button> 
                <br />
                <br />
                <br />
                <br />
                @Html.ActionLink("Back to List", "Index")
            </div>
        }
    </div>
</body>
</html>
